package myvolatile2;

/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2022-08-08
 * Time: 9:08
 */

//女孩线程一直从共享数据副本去取内容，一直执行读取操作，所以就导致了内存可见性的问题
    
public class Money {
    public static Object lock=new Object();
    public static  int money=100000;
}
